//
//  JJRnUpdateHelper.h
//  ClaimPlatform_RN
//
//  Created by woshiku on 2018/7/19.
//  Copyright © 2018年 jj. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "JJNetWorkManager.h"
#import "JJFileHelper.h"
#import "JJRNFileOperation.h"
//isUpdate 1:需要热更新 0:不需要热更新
typedef void(^FinishBlock) (NSInteger isUpdate,id data);
typedef void(^BundleFileMD5CheckBlock) (BOOL isSame);
@interface JJRnUpdateHelper : NSObject
+(void)checkUpdate:(FinishBlock)finish;
+(void)doRNHotUpdate;
+(void)downLoadRnBundleFile:(NSString*)downLoadUrl BundleFileMD5:(NSString*)bundleFileMd5 RnBundleVersion:(NSString*)rnBundleVersion Finish:(BundleFileMD5CheckBlock)finish;

@end
